import { ref, computed } from 'vue'
import { defineStore } from 'pinia'


export const useCounterStore = defineStore('counter', () => {
    //声明参数用于保存用户账号以及登录状态
    const uName=ref("");
    const isLogin=ref(false);
  

    return { uName, isLogin }
},{
    persist:true
})
